// 
// DotNetNuke?- http://www.dotnetnuke.com 
// Copyright (c) 2002-2011 
// by DotNetNuke Corporation 
// 
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
// to permit persons to whom the Software is furnished to do so, subject to the following conditions: 
// 
// The above copyright notice and this permission notice shall be included in all copies or substantial portions 
// of the Software. 
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
// DEALINGS IN THE SOFTWARE. 
// 

using System;
using System.Configuration;
using System.Data;

namespace CharityGamesOnline.Modules.Game.Trivia
{

    public class TriviaQuestionInfo
    {
        #region "Private Members"
        int _questionID;
        int _questionIndex;
        int _categoryID;        
        string _categoryName;
        string _description;
        int _correctAnswerID;
        int _difficulty;
        string _comment;
        #endregion

        #region "Constructors"
        public TriviaQuestionInfo()
        {
        }

        #endregion

        #region "Public Properties"
        public int QuestionID
        {
            get { return _questionID; }
            set { _questionID = value; }
        }

        public int QuestionIndex
        {
            get { return _questionIndex; }
            set { _questionIndex = value; }
        }

        public int CategoryID
        {
            get { return _categoryID; }
            set { _categoryID = value; }
        }

        public string CategoryName
        {
            get { return _categoryName; }
            set { _categoryName = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int CorrectAnswerID
        {
            get { return _correctAnswerID; }
            set { _correctAnswerID = value; }
        }

        public int Difficulty
        {
            get { return _difficulty; }
            set { _difficulty = value; }
        }

        public string Comment
        {
            get { return _comment; }
            set { _comment = value; }
        }
        #endregion
    }

    public class TriviaAnswerInfo
    {
        #region "Private Members"
        int _answerID;
        int _questionID;
        int _questionIndex;
        string _description;
        #endregion

        #region "Constructors"
        public TriviaAnswerInfo()
        {
        }
        
        #endregion

        #region "Public Properties"
        public int AnswerID
        {
            get { return _answerID; }
            set { _answerID = value; }
        }

        public int QuestionID
        {
            get { return _questionID; }
            set { _questionID = value; }
        }

        public int QuestionIndex
        {
            get { return _questionIndex; }
            set { _questionIndex = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }
        #endregion
    }

    public class TriviaResultSummaryInfo
    {
        #region "Private Members"
        int _gameEnrollmentID;        
        int _userID;        
        int _totalCount;        
        int _correctCount;        
        int _wrongCount;        
        int _undoCount;        
        int _deprecatedCount;
        #endregion

        #region "Constructors"
        public TriviaResultSummaryInfo()
        {
        }
        
        #endregion

        #region "Public Properties"
        public int GameEnrollmentID
        {
            get { return _gameEnrollmentID; }
            set { _gameEnrollmentID = value; }
        }

        public int UserID
        {
            get { return _userID; }
            set { _userID = value; }
        }

        public int TotalCount
        {
            get { return _totalCount; }
            set { _totalCount = value; }
        }

        public int CorrectCount
        {
            get { return _correctCount; }
            set { _correctCount = value; }
        }

        public int WrongCount
        {
            get { return _wrongCount; }
            set { _wrongCount = value; }
        }

        public int UndoCount
        {
            get { return _undoCount; }
            set { _undoCount = value; }
        }

        public int DeprecatedCount
        {
            get { return _deprecatedCount; }
            set { _deprecatedCount = value; }
        }
        #endregion 
    }
}